package com.woniu.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class PatientExam implements Serializable {
    /**
     *
     */
    private Integer id;

    /**
     * 病人ID
     */
    private Integer patientId;

    /**
     * 检查表ID
     */
    private Integer examId;

    /**
     * 检查项目ID
     */
    private Integer examItemId;

    /**
     * 0未缴费 1已缴费 2已完成
     */
    private Integer status;

    /**
     * 检查结果/报告
     */
    private String result;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date finishTime;

    /**
     *
     */
    private Integer isDeleted;

    /**
     * 备用1
     */
    private String var1;

    /**
     * 备用2
     */
    private String var2;

    private static final long serialVersionUID = 1L;
}